package com.example.w.dao;

import com.example.w.common.pojo.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderDao {
    int deleteByPrimaryKey(Long id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);


    List<Order> selectByTableIdAndPaystatus(Map<String, Integer> record);

    List<Order> selectByOrderId(Map<String, Long> record);

    List<Order> selectByPaystatus(Map<String, Integer> record);
}